package com.ruoyi.teach.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 章节视频关联对象 nb_chapter_vedio
 * 
 * @author ruoyi
 * @date 2021-12-08
 */
public class NbChapterVedio extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 视频ID */
    @Excel(name = "视频ID")
    private Long vedioId;

    /** 章节ID */
    @Excel(name = "章节ID")
    private Long chapterId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVedioId(Long vedioId) 
    {
        this.vedioId = vedioId;
    }

    public Long getVedioId() 
    {
        return vedioId;
    }
    public void setChapterId(Long chapterId) 
    {
        this.chapterId = chapterId;
    }

    public Long getChapterId() 
    {
        return chapterId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vedioId", getVedioId())
            .append("chapterId", getChapterId())
            .toString();
    }
}
